﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Base.Interfaces;
using Base.ListLogic;

namespace Base.Controllers
{
    public interface IBaseController<TCmdType, in TMenuType>
    {
        IEventController EventC { get; }
        void ContextMenu(Point cursorPositionInDesktop, TMenuType menuPosition);
        void Exec(TCmdType cmd, object arg = null);
        void Update();

        void CreateContextMenu(Point cursorPositionInDesktop, List<TextAndCommand<TCmdType>> cmdList);
    }
}
